home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Graphics⁄Sound / Fudd Source / Fudd ƒ / MSG Shell ƒ / msg menus.h < prev    next >
Text File  |  1994-02-07  |  2KB  |  68 lines

  1. /**********************************************************************\
  2.  
  3. File:        msg menus.h
  4.  
  5. Purpose:    This is the header file for msg menus.c
  6.  
  7.  
  8. Fudd -=- convert text to Elmer Fudd talk
  9. Copyright ©1994, Mark Pilgrim
  10.  
  11. This program is free software; you can redistribute it and/or modify
  12. it under the terms of the GNU General Public License as published by
  13. the Free Software Foundation; either version 2 of the License, or
  14. (at your option) any later version.
  15.  
  16. This program is distributed in the hope that it will be useful,
  17. but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. GNU General Public License for more details.
  20.  
  21. You should have received a copy of the GNU General Public License
  22. along with this program in a file named "GNU General Public License".
  23. If not, write to the Free Software Foundation, 675 Mass Ave,
  24. Cambridge, MA 02139, USA.
  25.  
  26. \**********************************************************************/
  27.  
  28. enum
  29. {
  30.     helpMenu=200,
  31.     
  32.     appleMenu = 400,
  33.     fileMenu,
  34.     editMenu,
  35.     optionsMenu,
  36.     
  37.     aboutItem = 1,
  38.     aboutMSGItem,
  39.     
  40.     openItem=1,
  41.     closeItem,
  42.     quitItem = 4,
  43.     
  44.     undoItem = 1,
  45.     cutItem = 3,
  46.     copyItem = 4,
  47.     pasteItem = 5,
  48.     clearItem = 6,
  49.     
  50.     showSaveItem = 1,
  51.     addSuffixItem,
  52.     showProgressItem
  53. };
  54.  
  55. extern    MenuHandle        gAppleMenu;
  56. extern    MenuHandle        gFileMenu;
  57. extern    MenuHandle        gEditMenu;
  58. extern    MenuHandle        gOptionsMenu;
  59. extern    MenuHandle        gHelpMenu;
  60.  
  61. void AdjustMenus(void);
  62. void HandleMenu(long);
  63. void HandleAppleMenu(int menuItem);
  64. void HandleFileMenu(int menuItem);
  65. void HandleEditMenu(int menuItem);
  66. void HandleOptionsMenu(int menuItem);
  67. void HandleHelpMenu(int menuItem);
  68.